﻿using EPiServer.Community.Blog;
using JoelAbrahamsson.MetaWeblog;

namespace JoelAbrahamsson.BlogExtensions
{
    public class BlogEntryExcerptProvider : IBlogEntryExcerptProvider
    {
        public void SetExcerpt(Entry entry, string excerpt)
        {
            entry.SetExcerpt(excerpt);
        }

        public string GetExcerpt(Entry entry)
        {
            return entry.GetExcerpt();
        }
    }
}
